package com.xyy.saas.payment.dao.mapper;

import com.xyy.saas.payment.dao.model.ApplyOpenAccountStatus;
import com.xyy.saas.payment.dao.model.EntrustPayInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 开户意愿申请 状态
 */
@Mapper
public interface ApplyOpenAccountStatusMapper {

    List<ApplyOpenAccountStatus> selectByParam(ApplyOpenAccountStatus param);

    ApplyOpenAccountStatus selectByApplyCode(String applyCode);

    int insert(ApplyOpenAccountStatus entity);

    int updateByPrimaryKeySelective(ApplyOpenAccountStatus entity);

    int removeById(Long id);

    List<ApplyOpenAccountStatus> queryByPage(@Param("offset") int offset, @Param("limit") int limit);

    List<ApplyOpenAccountStatus> queryByStatusPage(@Param("statusList") List<Integer> statusList, @Param("offset") int offset, @Param("limit") int limit);

}